package com.jyw.business.de.domain.vo.web;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.business.de.domain.DeDemandInfo;
import com.jyw.business.de.domain.DeDemandSub;
import com.jyw.common.annotation.Conversion;
import com.jyw.common.annotation.Excel;
import com.jyw.common.constant.SysDictTypeConstant;
import com.jyw.common.enums.ConversionType;
import com.jyw.common.utils.bean.BeanUtils;
import com.jyw.system.domain.vo.SimpleFileVo;
import com.jyw.system.utils.FileUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;

import java.util.Date;
import java.util.List;

@ApiModel("需求信息提出科室详情")
@Data
@FieldNameConstants
@NoArgsConstructor
public class DemandInfoSubVO {


    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 需求主键 */
    @ApiModelProperty("需求主键")
    private Long demandId;

    /** 提出科室 */
    @ApiModelProperty("提出科室")
    @Conversion(value = ConversionType.DICT,name = Fields.deptName)
    private Long deptId;

    /** 提出科室 */
    @ApiModelProperty("提出科室名称")
    private Long deptName;

    /** 联系人 */
    @ApiModelProperty("联系人")
    private String contactUser;

    /** 联系电话 */
    @ApiModelProperty("联系电话")
    private String contactPhone;

    public DemandInfoSubVO(DeDemandSub sub) {
        BeanUtils.copyProperties(sub,this);
    }
}
